import React, { Component } from 'react';
import { observer, inject } from 'mobx-react';
import { withRouter } from 'react-router-dom';

@inject('templateStore')
@withRouter
@observer
export default class Template extends Component {
  render() {
    const { templateStore } = this.props;
    const { name } = templateStore;
    return (
      <div>
        {name}
      </div>
    );
  }
}